import React from "react";
import styles from "../css/chat.module.css";
import { Avatar } from "antd-mobile";
function ChatRight({ msg }) {
  return (
    <div className={styles.rightbox}>
      <div className={styles.ava}>
        <Avatar src="https://images.unsplash.com/photo-1548532928-b34e3be62fc6?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&ixid=eyJhcHBfaWQiOjE3Nzg0fQ" />
      </div>
      <div className={styles.msg}>{msg}</div>
    </div>
  );
}

export default ChatRight;
